.letter {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid rgb(191, 154, 43);
  background-color: rgb(191, 154, 43);
  text-align: center;
  line-height: 20px;
  padding: 4px;
  cursor: pointer;

  &.selected {
    background-color: seagreen;
    border: 1px solid seagreen;
  }
}

.line {
  display: flex;
  flex-direction: row;
  align-items: center;
  /* border: 1px solid rgb(191, 154, 43); */
  gap: 2px;
  /* padding: 8px; */
  flex: 1;
}

.block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* border: 1px solid rgb(209, 226, 15); */
  gap: 2px;
  /* padding: 8px; */
  /* margin: 8px; */
}

.code {
  display: flex;
  flex-direction: row;
  border: 1px solid rgb(209, 226, 15);
  /* gap: 8px; */
  padding: 8px;
  margin: 24px;

  .row-number {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-right: 8px;
    margin-top: calc(1px + 4px + 20px + 4px + 1px + 8px + 1px + 1px);

    .letter.selected {
      background-color: dodgerblue;
      border: 1px solid dodgerblue;
    }
  }

  .col-number {
    display: flex;
    flex-direction: row;
    gap: 2px;
    margin-bottom: 8px;

    .letter.selected {
      background-color: dodgerblue;
      border: 1px solid dodgerblue;
    }
  }
}
